package boot.spring.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import boot.spring.po.City;

public interface CityMapper {
    int deleteByPrimaryKey(Short cityId);

    int insert(City record);

    int insertSelective(City record);

    City selectByPrimaryKey(Short cityId);

    int updateByPrimaryKeySelective(City record);

    int updateByPrimaryKey(City record);
    
    List<City> getCitys(@Param("start") Date start);
    
    List<City> listAll();
}